package com.bjsxt.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;

/**
 * description:
 * 因为在这个授权服务器中有着一个受保护的接口 , 所以这个授权服务器本质上即是资源服务器又是授权服务器需要配置这个类
 *
 * @author ALIENWARE <br />
 * @EnableResourceServer 资源服务器注解
 * @date 2021/6/22
 */
@EnableResourceServer
@Configuration
public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
}
